TCAM SPliT: Optimizing Space, Power, and Throughput for TCAM-based Packet Classification Systems
نویسندگان
چکیده
Packet classification is the core mechanism that enables many networking services such as packet filtering and traffic accounting. Using Ternary Content Addressable Memories (TCAMs) to perform high-speed packet classification has become the de facto standard in industry because TCAMs can facilitate constant time classification by comparing a packet with all rules of ternary encoding in parallel. Despite their high speed, TCAMs have limitations of small capacity, large power consumption, and relatively slow access times. The well-known range expansion problem in converting range rules to ternary rules significantly exacerbates these TCAM limitations. While we can expect some gain in TCAM performance from improved hardware, the demands on TCAM performance as measured by the number of rules in packet classifiers increase far more rapidly due to the explosive growth of Internet services and threats. One reason TCAM-based packet classifiers are so large is the multiplicative effect inherent in representing d-dimensional classifiers in TCAMs. Although several TCAM optimization techniques have been proposed, they cannot fully address the multiplicative effect because they still produce five-dimensional classifiers. To address the multiplicative effect, we abandon the traditional TCAM classification paradigm that performs a single five-dimensional lookup on a single five-dimensional classifier stored in a large TCAM. Instead, we propose the TCAM SPliT architecture, where a five dimensional classifier is split into two low dimensional classifiers, each of which is stored on its own small TCAM. Accordingly, a five-dimensional lookup is split into two low dimensional, pipelined lookups with one lookup on each chip. TCAM SPliT is the first scheme that fundamentally addresses the multiplicative effect in TCAM-based packet classification by decomposing a high dimensional classifier into two low dimensional classifiers. TCAM SPliT significantly improves TCAM-based packet classification in the three aspects of space, power, and throughput. On real-world classifiers, for space, TCAM SPliT reduces space requirement by an average of 92%; for power, TCAM SPliT reduces power consumption by an average of 37.9%; for throughput, TCAM SPliT improves classification throughput by an average of 63.3%. Assuming the average compression ratio of 8% applies to large classifiers, we extrapolate that TCAM SPliT can reduce power consumption by more than a factor of 5 and increase throughput by more than a factor of 2.5 when applied to a classifier whose direct expansion requires a 36Mb TCAM, which is the largest TCAM chip available.
منابع مشابه
Algorithmic Approaches to Optimizing TCAM-Based Packet Classification
Packet classification is the core mechanism that enables many networking services such as packet filtering and traffic accounting. Using Ternary Content Addressable Memories (TCAMs) to perform high-speed packet classification has become the de facto standard in industry because TCAMs can facilitate constant time classification by comparing a packet with all rules of ternary encoding in parallel...
متن کاملCompact TCAM: Flow Entry Compaction in TCAM for Power Aware SDN
High throughput access to large data structures for lookup and classification have made Ternary Content Addressable Memory (TCAM) indispensable in today’s network switching devices. TCAMs offer single cycle lookup operation but at the expense of notoriously high power dissipation. While there is no suitable alternative to TCAM for maintaining line rate lookup, high power dissipation of TCAM hav...
متن کاملOn a trie partitioning algorithm for power-efficient TCAMs
Internet routers conduct routing table (RT) lookup based on the destination IP address of the incoming packet to decide which output port to forward the packet. Ternary content-addressible memories (TCAM) uses parallelism to achieve lookup in a single cycle. One of the major drawbacks of TCAM is its highpower consumption. Trie-based architecture has been proposed to reduce TCAM power consumptio...
متن کاملScalable Packet Classification for IPv6 by Using Limited TCAMs
It has been demonstrated that performing packet classification on a potentially large number of filters on key header fields is difficult and has poor worst-case performance. To achieve fast packet classification, hardware support is unavoidable. Ternary content-addressable memory (TCAM) has been widely used to perform fast packet classification due to its ability to solve the problem in O(1) t...
متن کاملScalable packet classification by TCAM entry encryption algorithm
Ternary content-addressable memory (TCAM) has been widely used to perform fast packet classification due to its ability of solving the problem in O(1) time without considering the number of entries, mask continuity and their lengths. However, it also comes with several shortcomings, such as the limited number of entries, expensive cost and power consumption. We propose an efficient algorithm to...
متن کامل